package com.hth.feign.api;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

//@RequestMapping("/person")
public interface PersonApi {

    @GetMapping("/name")
    String getName();

    @GetMapping("/get/person")
    Person getPerson();

    @PostMapping("/set/person")
    String setPerson(@RequestParam Person person);
}
